array object

This method will remove an existing value at a specified position in an array.

void remove_at(int position)

Parameters:
position
The index of the element to remove.

Return value:
None.

Remarks:
Once the value has been removed the array will be automatically resized to reflect the change.

Example:
string[] names(6);

void main()
{
names[0]="Damien";
names[1]="Philip";
names[2]="Percival";
names[3]="Byron";
names[4]="Humphrey";
names[5]="Edmund";
names.remove_at(5);
for(uint counter=0; counter<names.length(); counter++)
{
alert("Names", "Element "+counter+" contains the name "+names[counter]+".");
}
}